package edu.nf.takeoutdemo.model.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 *
 * @author zjl
 * @date 2025/11/10
 */
@Data
public class OrderPageQueryDTO implements Serializable {
    private int pageNum;
    private int pageSize;
    private Integer payStatus;
    private Integer status;
    private String number;
    private String phone;
    private Long userId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
}
